package com.itheima.springbootsecurity.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageQuery {
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Integer total;

    public PageQuery(Integer page, Integer pageSize) {
        this.page = page;
        this.pageSize = pageSize;
    }
}
